package cn.ynrcb.personnelfile.admin.service;

import cn.ynrcb.personnelfile.admin.entity.SmsLogEntity;
import cn.ynrcb.personnelfile.common.utils.PageUtils;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * 短信发送日志表
 *
 * @author wujianfan
 * @email fanxipo@qq.com
 * @date 2021-05-12 16:30:58
 */
public interface SmsLogService extends IService<SmsLogEntity> {

    PageUtils queryPage(Map<String, Object> params);


    /**
     * 查询短信验证码
     * @param phone
     * @param type
     * @param status
     * @return
     */
    SmsLogEntity findSmsLog(String phone, Integer type, Integer status);
}

